package com.ruoyi.web.controller.demo.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * schedul_pai_relate对象 sys_schedul_pai_relate
 * 
 * @author ruoyi
 * @date 2022-12-27
 */
public class SysSchedulPaiRelate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增Id 主键 */
    private Long id;

    /** 排班id */
    @Excel(name = "排班id")
    private Long paiId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 值班人id */
    @Excel(name = "值班人id")
    private Long zhiId;

    private String zhiName;

    public String getZhiName() {
        return zhiName;
    }

    public void setZhiName(String zhiName) {
        this.zhiName = zhiName;
    }

    private SysWzxUser sysWzxUser;

    public SysWzxUser getSysWzxUser() {
        return sysWzxUser;
    }

    public void setSysWzxUser(SysWzxUser sysWzxUser) {
        this.sysWzxUser = sysWzxUser;
    }

    /** 人员信息信息 */
    private List<SysWzxUser> sysWzxUserList;

    public List<SysWzxUser> getSysWzxUserList() {
        return sysWzxUserList;
    }

    public void setSysWzxUserList(List<SysWzxUser> sysWzxUserList) {
        this.sysWzxUserList = sysWzxUserList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPaiId(Long paiId) 
    {
        this.paiId = paiId;
    }

    public Long getPaiId() 
    {
        return paiId;
    }
    public void setBeginTime(Date beginTime)
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime()
    {
        return beginTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setZhiId(Long zhiId) 
    {
        this.zhiId = zhiId;
    }

    public Long getZhiId() 
    {
        return zhiId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("paiId", getPaiId())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("zhiId", getZhiId())
            .toString();
    }
}
